package com.shrct.businessprocess.project;

import com.shrct.businessprocess.project.RCProject;
import com.shrct.businessprocess.project.RCProjectStat;
import com.shrct.businessprocess.project.events.RCProjectEventsListener;
import edu.fudan.mylang.pf.event.BaseEntityEventsListener;
import java.util.Date;
import org.springframework.stereotype.Service;

@Service("com.shrct.businessprocess.project.RCProjectListener4Stat")
public class RCProjectListener4Stat extends BaseEntityEventsListener<RCProject> implements RCProjectEventsListener {
  public void ProjectAuditPassed(final RCProject entity) {
    RCProjectStat _stat = entity.getStat();
    _stat.updateContractPrice();
  }
  
  public void ContractSigned(final RCProject entity, final Date contractDate) {
  }
  
  public void NotifyAllContractCollected(final RCProject entity) {
    RCProjectStat _stat = entity.getStat();
    _stat.updateContractPrice();
  }
  
  public void actUpdateTimer(final RCProject entity) {
  }
  
  public void actFixTimer(final RCProject entity) {
  }
}
